#ifndef TEXTLINE_H_
#define TEXTLINE_H_

#include <e32base.h>
#include "LinkTemplate.h"

class CTextBlock;
class TextLine  : public CBase,public IItem
{
public:
	TextLine();
	virtual ~TextLine();
	
	static TextLine* NewL();
	static TextLine* NewLC();
	
	void ConstructL();
	
public:
	void PushL(CTextBlock* aBlock);
private:
	LinkTemplate iTextBlockArray;
public:
	LinkTemplate* GetTextBlockArray();
private:
	TRect iLineRect;
public:
	TRect GetLineRect() const;
};

#endif /*LINEBLOCK_H_*/
